<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>WebCL: public/IWebCL.idl Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">WebCL
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="dynsections.js"></script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="headertitle">
<div class="title">public/IWebCL.idl</div>  </div>
</div><!--header-->
<div class="contents">
<a href="IWebCL_8idl.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment"> * This file is part of WebCL – Web Computing Language.</span>
<a name="l00003"></a>00003 <span class="comment"> *</span>
<a name="l00004"></a>00004 <span class="comment"> * This Source Code Form is subject to the terms of the</span>
<a name="l00005"></a>00005 <span class="comment"> * Mozilla Public License, v. 2.0. If a copy of the MPL </span>
<a name="l00006"></a>00006 <span class="comment"> * was not distributed with this file, You can obtain </span>
<a name="l00007"></a>00007 <span class="comment"> * one at http://mozilla.org/MPL/2.0/.</span>
<a name="l00008"></a>00008 <span class="comment"> *</span>
<a name="l00009"></a>00009 <span class="comment"> * The Original Contributor of this Source Code Form is</span>
<a name="l00010"></a>00010 <span class="comment"> * Nokia Research Center Tampere (http://webcl.nokiaresearch.com).</span>
<a name="l00011"></a>00011 <span class="comment"> *</span>
<a name="l00012"></a>00012 <span class="comment"> */</span>
<a name="l00013"></a>00013 
<a name="l00023"></a>00023 <span class="preprocessor">#include &quot;nsISupports.idl&quot;</span>
<a name="l00024"></a>00024 <span class="preprocessor">#include &quot;nsISecurityCheckedComponent.idl&quot;</span>
<a name="l00025"></a>00025 <span class="preprocessor">#include &quot;nsIVariant.idl&quot;</span>
<a name="l00026"></a>00026 <span class="preprocessor">#include &quot;nsIArray.idl&quot;</span>
<a name="l00027"></a>00027 
<a name="l00028"></a>00028 <span class="preprocessor">#include &quot;<a class="code" href="WebCL__types_8idl.html">WebCL_types.idl</a>&quot;</span>
<a name="l00029"></a>00029 
<a name="l00030"></a>00030 <span class="keyword">interface </span><a class="code" href="interfaceIWebCLContext.html" title="IWebCLContext interface abstracts a WebCL context.">IWebCLContext</a>;
<a name="l00031"></a>00031 <span class="keyword">interface </span><a class="code" href="interfaceIWebCLPlatform.html" title="IWebCLPlatform interface abstracts a WebCL platform.">IWebCLPlatform</a>;
<a name="l00032"></a>00032 
<a name="l00033"></a>00033 
<a name="l00034"></a>00034 [scriptable, uuid(8d1a0db2-94af-4333-9b55-9c516a1dbbea)]
<a name="l00035"></a><a class="code" href="interfaceIWebCL.html">00035</a> <span class="keyword">interface </span><a class="code" href="interfaceIWebCL.html" title="Main WebCL component interface.">IWebCL</a> : nsISecurityCheckedComponent
<a name="l00036"></a>00036 {
<a name="l00043"></a>00043   [implicit_jscontext]
<a name="l00044"></a><a class="code" href="interfaceIWebCL.html#a41ae5fa7415f72000db9d4b2a19b57fc">00044</a>   readonly attribute nsIVariant <a class="code" href="interfaceIWebCL.html#a41ae5fa7415f72000db9d4b2a19b57fc" title="Supported data types for kernel arguments.">types</a>;
<a name="l00045"></a>00045 
<a name="l00052"></a>00052   [implicit_jscontext]
<a name="l00053"></a><a class="code" href="interfaceIWebCL.html#a202846ba89bc8e279aa4abcc854aba79">00053</a>   readonly attribute nsIVariant <a class="code" href="interfaceIWebCL.html#a202846ba89bc8e279aa4abcc854aba79" title="The WebCL version information.">version</a>;
<a name="l00054"></a>00054 
<a name="l00055"></a>00055   <span class="comment">// NOTE: Can&#39;t use IDL array (i.e. out count, [array size_is(count)] out retv)</span>
<a name="l00056"></a>00056   <span class="comment">//       since it always requires the count out parameter to be given as object,</span>
<a name="l00057"></a>00057   <span class="comment">//       even when it&#39;s not reallyused by the user.</span>
<a name="l00058"></a>00058   <span class="comment">// NOTE: Can&#39;t use nsIArray since it doesn&#39;t provide an interface that is compatible</span>
<a name="l00059"></a>00059   <span class="comment">//       with JS array.</span>
<a name="l00065"></a>00065 <span class="comment"></span>  [implicit_jscontext]
<a name="l00066"></a>00066   nsIVariant <a class="code" href="interfaceIWebCL.html#abe82a152c351c59cd6afc40abcb66c08" title="Get the list of available platforms.">getPlatformIDs</a> ();
<a name="l00067"></a>00067 
<a name="l00069"></a>00069   [implicit_jscontext]
<a name="l00070"></a>00070   nsIVariant <a class="code" href="interfaceIWebCL.html#a058d8e8eb483246b5a12fea418f40df3">getPlatforms</a> ();
<a name="l00071"></a>00071 
<a name="l00078"></a>00078   [implicit_jscontext]
<a name="l00079"></a>00079   <a class="code" href="interfaceIWebCLContext.html" title="IWebCLContext interface abstracts a WebCL context.">IWebCLContext</a> <a class="code" href="interfaceIWebCL.html#a514ff0ff130e29b8ad68090fd6f134c4" title="Create a new WebCL context based on a list of devices.">createContext</a> (in nsIVariant aProperties, in nsIVariant aDevices);
<a name="l00080"></a>00080 
<a name="l00088"></a>00088   [implicit_jscontext]
<a name="l00089"></a>00089   <a class="code" href="interfaceIWebCLContext.html" title="IWebCLContext interface abstracts a WebCL context.">IWebCLContext</a> <a class="code" href="interfaceIWebCL.html#ab42840b6e0431c0d0c69ace979bbaf56" title="Create a new WebCL context.">createContextFromType</a> (in nsIVariant aProperties, in <a class="code" href="WebCL__types_8idl.html#a2560dcbf9bf24990dcfd566a25920497">T_WebCLDeviceType</a> aDeviceType);
<a name="l00090"></a>00090 
<a name="l00096"></a>00096   [implicit_jscontext]
<a name="l00097"></a>00097   <span class="keywordtype">void</span> <a class="code" href="interfaceIWebCL.html#a309e0cc237e2e0daea9bc82997b1b525" title="Wait for the commands identified by the listed events to complete.">waitForEvents</a> (in nsIVariant aEventList);
<a name="l00098"></a>00098 
<a name="l00102"></a>00102   [implicit_jscontext]
<a name="l00103"></a>00103   <span class="keywordtype">void</span> <a class="code" href="interfaceIWebCL.html#a08393a53d697845561687c4e50438bf3" title="Release the resources allocated by the OpenCL compiler.">unloadCompiler</a> ();
<a name="l00104"></a>00104 
<a name="l00105"></a>00105   <span class="comment">// Prevent the following constants from leaking to C++ header - the same</span>
<a name="l00106"></a>00106   <span class="comment">// identifiers are already available as defines from cl.h through wrapper.</span>
<a name="l00107"></a>00107   <span class="comment">// NOTE: This will cause warning which can be safely ignored.</span>
<a name="l00108"></a>00108   <span class="comment">// Sadly, doxygen gets confused and ignores the constants as well.</span>
<a name="l00109"></a>00109 %{C++
<a name="l00110"></a>00110   <span class="comment">/*</span>
<a name="l00111"></a>00111 <span class="comment">%}</span>
<a name="l00112"></a>00112 <span class="comment">  const long CL_SUCCESS = 0;</span>
<a name="l00113"></a>00113 <span class="comment">  const long CL_DEVICE_NOT_FOUND = -1;</span>
<a name="l00114"></a>00114 <span class="comment">  const long CL_DEVICE_NOT_AVAILABLE = -2;</span>
<a name="l00115"></a>00115 <span class="comment">  const long CL_COMPILER_NOT_AVAILABLE = -3;</span>
<a name="l00116"></a>00116 <span class="comment">  const long CL_MEM_OBJECT_ALLOCATION_FAILURE = -4;</span>
<a name="l00117"></a>00117 <span class="comment">  const long CL_OUT_OF_RESOURCES = -5;</span>
<a name="l00118"></a>00118 <span class="comment">  const long CL_OUT_OF_HOST_MEMORY = -6;</span>
<a name="l00119"></a>00119 <span class="comment">  const long CL_PROFILING_INFO_NOT_AVAILABLE = -7;</span>
<a name="l00120"></a>00120 <span class="comment">  const long CL_MEM_COPY_OVERLAP = -8;</span>
<a name="l00121"></a>00121 <span class="comment">  const long CL_IMAGE_FORMAT_MISMATCH = -9;</span>
<a name="l00122"></a>00122 <span class="comment">  const long CL_IMAGE_FORMAT_NOT_SUPPORTED = -10;</span>
<a name="l00123"></a>00123 <span class="comment">  const long CL_BUILD_PROGRAM_FAILURE = -11;</span>
<a name="l00124"></a>00124 <span class="comment">  const long CL_MAP_FAILURE = -12;</span>
<a name="l00125"></a>00125 <span class="comment">  const long CL_MISALIGNED_SUB_BUFFER_OFFSET = -13;</span>
<a name="l00126"></a>00126 <span class="comment">  const long CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST = -14;</span>
<a name="l00127"></a>00127 <span class="comment">  const long CL_INVALID_VALUE = -30;</span>
<a name="l00128"></a>00128 <span class="comment">  const long CL_INVALID_DEVICE_TYPE = -31;</span>
<a name="l00129"></a>00129 <span class="comment">  const long CL_INVALID_PLATFORM = -32;</span>
<a name="l00130"></a>00130 <span class="comment">  const long CL_INVALID_DEVICE = -33;</span>
<a name="l00131"></a>00131 <span class="comment">  const long CL_INVALID_CONTEXT = -34;</span>
<a name="l00132"></a>00132 <span class="comment">  const long CL_INVALID_QUEUE_PROPERTIES = -35;</span>
<a name="l00133"></a>00133 <span class="comment">  const long CL_INVALID_COMMAND_QUEUE = -36;</span>
<a name="l00134"></a>00134 <span class="comment">  const long CL_INVALID_HOST_PTR = -37;</span>
<a name="l00135"></a>00135 <span class="comment">  const long CL_INVALID_MEM_OBJECT = -38;</span>
<a name="l00136"></a>00136 <span class="comment">  const long CL_INVALID_IMAGE_FORMAT_DESCRIPTOR = -39;</span>
<a name="l00137"></a>00137 <span class="comment">  const long CL_INVALID_IMAGE_SIZE = -40;</span>
<a name="l00138"></a>00138 <span class="comment">  const long CL_INVALID_SAMPLER = -41;</span>
<a name="l00139"></a>00139 <span class="comment">  const long CL_INVALID_BINARY = -42;</span>
<a name="l00140"></a>00140 <span class="comment">  const long CL_INVALID_BUILD_OPTIONS = -43;</span>
<a name="l00141"></a>00141 <span class="comment">  const long CL_INVALID_PROGRAM = -44;</span>
<a name="l00142"></a>00142 <span class="comment">  const long CL_INVALID_PROGRAM_EXECUTABLE = -45;</span>
<a name="l00143"></a>00143 <span class="comment">  const long CL_INVALID_KERNEL_NAME = -46;</span>
<a name="l00144"></a>00144 <span class="comment">  const long CL_INVALID_KERNEL_DEFINITION = -47;</span>
<a name="l00145"></a>00145 <span class="comment">  const long CL_INVALID_KERNEL = -48;</span>
<a name="l00146"></a>00146 <span class="comment">  const long CL_INVALID_ARG_INDEX = -49;</span>
<a name="l00147"></a>00147 <span class="comment">  const long CL_INVALID_ARG_VALUE = -50;</span>
<a name="l00148"></a>00148 <span class="comment">  const long CL_INVALID_ARG_SIZE = -51;</span>
<a name="l00149"></a>00149 <span class="comment">  const long CL_INVALID_KERNEL_ARGS = -52;</span>
<a name="l00150"></a>00150 <span class="comment">  const long CL_INVALID_WORK_DIMENSION = -53;</span>
<a name="l00151"></a>00151 <span class="comment">  const long CL_INVALID_WORK_GROUP_SIZE = -54;</span>
<a name="l00152"></a>00152 <span class="comment">  const long CL_INVALID_WORK_ITEM_SIZE = -55;</span>
<a name="l00153"></a>00153 <span class="comment">  const long CL_INVALID_GLOBAL_OFFSET = -56;</span>
<a name="l00154"></a>00154 <span class="comment">  const long CL_INVALID_EVENT_WAIT_LIST = -57;</span>
<a name="l00155"></a>00155 <span class="comment">  const long CL_INVALID_EVENT = -58;</span>
<a name="l00156"></a>00156 <span class="comment">  const long CL_INVALID_OPERATION = -59;</span>
<a name="l00157"></a>00157 <span class="comment">  const long CL_INVALID_GL_OBJECT = -60;</span>
<a name="l00158"></a>00158 <span class="comment">  const long CL_INVALID_BUFFER_SIZE = -61;</span>
<a name="l00159"></a>00159 <span class="comment">  const long CL_INVALID_MIP_LEVEL = -62;</span>
<a name="l00160"></a>00160 <span class="comment">  const long CL_INVALID_GLOBAL_WORK_SIZE = -63;</span>
<a name="l00161"></a>00161 <span class="comment">  const long CL_INVALID_PROPERTY = -64;</span>
<a name="l00162"></a>00162 <span class="comment">  const long CL_VERSION_1_0 = 1;</span>
<a name="l00163"></a>00163 <span class="comment">  const long CL_VERSION_1_1 = 1;</span>
<a name="l00164"></a>00164 <span class="comment">  const long CL_FALSE = 0;</span>
<a name="l00165"></a>00165 <span class="comment">  const long CL_TRUE = 1;</span>
<a name="l00166"></a>00166 <span class="comment">  const long CL_PLATFORM_PROFILE = 0x0900;</span>
<a name="l00167"></a>00167 <span class="comment">  const long CL_PLATFORM_VERSION = 0x0901;</span>
<a name="l00168"></a>00168 <span class="comment">  const long CL_PLATFORM_NAME = 0x0902;</span>
<a name="l00169"></a>00169 <span class="comment">  const long CL_PLATFORM_VENDOR = 0x0903;</span>
<a name="l00170"></a>00170 <span class="comment">  const long CL_PLATFORM_EXTENSIONS = 0x0904;</span>
<a name="l00171"></a>00171 <span class="comment">  const long CL_DEVICE_TYPE_DEFAULT = (1&lt;&lt;0);</span>
<a name="l00172"></a>00172 <span class="comment">  const long CL_DEVICE_TYPE_CPU = (1&lt;&lt;1);</span>
<a name="l00173"></a>00173 <span class="comment">  const long CL_DEVICE_TYPE_GPU = (1&lt;&lt;2);</span>
<a name="l00174"></a>00174 <span class="comment">  const long CL_DEVICE_TYPE_ACCELERATOR = (1&lt;&lt;3);</span>
<a name="l00175"></a>00175 <span class="comment">  const unsigned long CL_DEVICE_TYPE_ALL = 0xFFFFFFFF;</span>
<a name="l00176"></a>00176 <span class="comment">  const long CL_DEVICE_TYPE = 0x1000;</span>
<a name="l00177"></a>00177 <span class="comment">  const long CL_DEVICE_VENDOR_ID = 0x1001;</span>
<a name="l00178"></a>00178 <span class="comment">  const long CL_DEVICE_MAX_COMPUTE_UNITS = 0x1002;</span>
<a name="l00179"></a>00179 <span class="comment">  const long CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS = 0x1003;</span>
<a name="l00180"></a>00180 <span class="comment">  const long CL_DEVICE_MAX_WORK_GROUP_SIZE = 0x1004;</span>
<a name="l00181"></a>00181 <span class="comment">  const long CL_DEVICE_MAX_WORK_ITEM_SIZES = 0x1005;</span>
<a name="l00182"></a>00182 <span class="comment">  const long CL_DEVICE_PREFERRED_VECTOR_WIDTH_CHAR = 0x1006;</span>
<a name="l00183"></a>00183 <span class="comment">  const long CL_DEVICE_PREFERRED_VECTOR_WIDTH_SHORT = 0x1007;</span>
<a name="l00184"></a>00184 <span class="comment">  const long CL_DEVICE_PREFERRED_VECTOR_WIDTH_INT = 0x1008;</span>
<a name="l00185"></a>00185 <span class="comment">  const long CL_DEVICE_PREFERRED_VECTOR_WIDTH_LONG = 0x1009;</span>
<a name="l00186"></a>00186 <span class="comment">  const long CL_DEVICE_PREFERRED_VECTOR_WIDTH_FLOAT = 0x100A;</span>
<a name="l00187"></a>00187 <span class="comment">  const long CL_DEVICE_PREFERRED_VECTOR_WIDTH_DOUBLE = 0x100B;</span>
<a name="l00188"></a>00188 <span class="comment">  const long CL_DEVICE_MAX_CLOCK_FREQUENCY = 0x100C;</span>
<a name="l00189"></a>00189 <span class="comment">  const long CL_DEVICE_ADDRESS_BITS = 0x100D;</span>
<a name="l00190"></a>00190 <span class="comment">  const long CL_DEVICE_MAX_READ_IMAGE_ARGS = 0x100E;</span>
<a name="l00191"></a>00191 <span class="comment">  const long CL_DEVICE_MAX_WRITE_IMAGE_ARGS = 0x100F;</span>
<a name="l00192"></a>00192 <span class="comment">  const long CL_DEVICE_MAX_MEM_ALLOC_SIZE = 0x1010;</span>
<a name="l00193"></a>00193 <span class="comment">  const long CL_DEVICE_IMAGE2D_MAX_WIDTH = 0x1011;</span>
<a name="l00194"></a>00194 <span class="comment">  const long CL_DEVICE_IMAGE2D_MAX_HEIGHT = 0x1012;</span>
<a name="l00195"></a>00195 <span class="comment">  const long CL_DEVICE_IMAGE3D_MAX_WIDTH = 0x1013;</span>
<a name="l00196"></a>00196 <span class="comment">  const long CL_DEVICE_IMAGE3D_MAX_HEIGHT = 0x1014;</span>
<a name="l00197"></a>00197 <span class="comment">  const long CL_DEVICE_IMAGE3D_MAX_DEPTH = 0x1015;</span>
<a name="l00198"></a>00198 <span class="comment">  const long CL_DEVICE_IMAGE_SUPPORT = 0x1016;</span>
<a name="l00199"></a>00199 <span class="comment">  const long CL_DEVICE_MAX_PARAMETER_SIZE = 0x1017;</span>
<a name="l00200"></a>00200 <span class="comment">  const long CL_DEVICE_MAX_SAMPLERS = 0x1018;</span>
<a name="l00201"></a>00201 <span class="comment">  const long CL_DEVICE_MEM_BASE_ADDR_ALIGN = 0x1019;</span>
<a name="l00202"></a>00202 <span class="comment">  const long CL_DEVICE_MIN_DATA_TYPE_ALIGN_SIZE = 0x101A;</span>
<a name="l00203"></a>00203 <span class="comment">  const long CL_DEVICE_SINGLE_FP_CONFIG = 0x101B;</span>
<a name="l00204"></a>00204 <span class="comment">  const long CL_DEVICE_GLOBAL_MEM_CACHE_TYPE = 0x101C;</span>
<a name="l00205"></a>00205 <span class="comment">  const long CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE = 0x101D;</span>
<a name="l00206"></a>00206 <span class="comment">  const long CL_DEVICE_GLOBAL_MEM_CACHE_SIZE = 0x101E;</span>
<a name="l00207"></a>00207 <span class="comment">  const long CL_DEVICE_GLOBAL_MEM_SIZE = 0x101F;</span>
<a name="l00208"></a>00208 <span class="comment">  const long CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE = 0x1020;</span>
<a name="l00209"></a>00209 <span class="comment">  const long CL_DEVICE_MAX_CONSTANT_ARGS = 0x1021;</span>
<a name="l00210"></a>00210 <span class="comment">  const long CL_DEVICE_LOCAL_MEM_TYPE = 0x1022;</span>
<a name="l00211"></a>00211 <span class="comment">  const long CL_DEVICE_LOCAL_MEM_SIZE = 0x1023;</span>
<a name="l00212"></a>00212 <span class="comment">  const long CL_DEVICE_ERROR_CORRECTION_SUPPORT = 0x1024;</span>
<a name="l00213"></a>00213 <span class="comment">  const long CL_DEVICE_PROFILING_TIMER_RESOLUTION = 0x1025;</span>
<a name="l00214"></a>00214 <span class="comment">  const long CL_DEVICE_ENDIAN_LITTLE = 0x1026;</span>
<a name="l00215"></a>00215 <span class="comment">  const long CL_DEVICE_AVAILABLE = 0x1027;</span>
<a name="l00216"></a>00216 <span class="comment">  const long CL_DEVICE_COMPILER_AVAILABLE = 0x1028;</span>
<a name="l00217"></a>00217 <span class="comment">  const long CL_DEVICE_EXECUTION_CAPABILITIES = 0x1029;</span>
<a name="l00218"></a>00218 <span class="comment">  const long CL_DEVICE_QUEUE_PROPERTIES = 0x102A;</span>
<a name="l00219"></a>00219 <span class="comment">  const long CL_DEVICE_NAME = 0x102B;</span>
<a name="l00220"></a>00220 <span class="comment">  const long CL_DEVICE_VENDOR = 0x102C;</span>
<a name="l00221"></a>00221 <span class="comment">  const long CL_DRIVER_VERSION = 0x102D;</span>
<a name="l00222"></a>00222 <span class="comment">  const long CL_DEVICE_PROFILE = 0x102E;</span>
<a name="l00223"></a>00223 <span class="comment">  const long CL_DEVICE_VERSION = 0x102F;</span>
<a name="l00224"></a>00224 <span class="comment">  const long CL_DEVICE_EXTENSIONS = 0x1030;</span>
<a name="l00225"></a>00225 <span class="comment">  const long CL_DEVICE_PLATFORM = 0x1031;</span>
<a name="l00226"></a>00226 <span class="comment">  const long CL_DEVICE_DOUBLE_FP_CONFIG = 0x1032;</span>
<a name="l00227"></a>00227 <span class="comment">  const long CL_DEVICE_HALF_FP_CONFIG = 0x1033;</span>
<a name="l00228"></a>00228 <span class="comment">  const long CL_DEVICE_PREFERRED_VECTOR_WIDTH_HALF = 0x1034;</span>
<a name="l00229"></a>00229 <span class="comment">  const long CL_DEVICE_HOST_UNIFIED_MEMORY = 0x1035;</span>
<a name="l00230"></a>00230 <span class="comment">  const long CL_DEVICE_NATIVE_VECTOR_WIDTH_CHAR = 0x1036;</span>
<a name="l00231"></a>00231 <span class="comment">  const long CL_DEVICE_NATIVE_VECTOR_WIDTH_SHORT = 0x1037;</span>
<a name="l00232"></a>00232 <span class="comment">  const long CL_DEVICE_NATIVE_VECTOR_WIDTH_INT = 0x1038;</span>
<a name="l00233"></a>00233 <span class="comment">  const long CL_DEVICE_NATIVE_VECTOR_WIDTH_LONG = 0x1039;</span>
<a name="l00234"></a>00234 <span class="comment">  const long CL_DEVICE_NATIVE_VECTOR_WIDTH_FLOAT = 0x103A;</span>
<a name="l00235"></a>00235 <span class="comment">  const long CL_DEVICE_NATIVE_VECTOR_WIDTH_DOUBLE = 0x103B;</span>
<a name="l00236"></a>00236 <span class="comment">  const long CL_DEVICE_NATIVE_VECTOR_WIDTH_HALF = 0x103C;</span>
<a name="l00237"></a>00237 <span class="comment">  const long CL_DEVICE_OPENCL_C_VERSION = 0x103D;</span>
<a name="l00238"></a>00238 <span class="comment">  const long CL_FP_DENORM = (1&lt;&lt;0);</span>
<a name="l00239"></a>00239 <span class="comment">  const long CL_FP_INF_NAN = (1&lt;&lt;1);</span>
<a name="l00240"></a>00240 <span class="comment">  const long CL_FP_ROUND_TO_NEAREST = (1&lt;&lt;2);</span>
<a name="l00241"></a>00241 <span class="comment">  const long CL_FP_ROUND_TO_ZERO = (1&lt;&lt;3);</span>
<a name="l00242"></a>00242 <span class="comment">  const long CL_FP_ROUND_TO_INF = (1&lt;&lt;4);</span>
<a name="l00243"></a>00243 <span class="comment">  const long CL_FP_FMA = (1&lt;&lt;5);</span>
<a name="l00244"></a>00244 <span class="comment">  const long CL_FP_SOFT_FLOAT = (1&lt;&lt;6);</span>
<a name="l00245"></a>00245 <span class="comment">  const long CL_NONE = 0x0;</span>
<a name="l00246"></a>00246 <span class="comment">  const long CL_READ_ONLY_CACHE = 0x1;</span>
<a name="l00247"></a>00247 <span class="comment">  const long CL_READ_WRITE_CACHE = 0x2;</span>
<a name="l00248"></a>00248 <span class="comment">  const long CL_LOCAL = 0x1;</span>
<a name="l00249"></a>00249 <span class="comment">  const long CL_GLOBAL = 0x2;</span>
<a name="l00250"></a>00250 <span class="comment">  const long CL_EXEC_KERNEL = (1&lt;&lt;0);</span>
<a name="l00251"></a>00251 <span class="comment">  const long CL_EXEC_NATIVE_KERNEL = (1&lt;&lt;1);</span>
<a name="l00252"></a>00252 <span class="comment">  const long CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE = (1&lt;&lt;0);</span>
<a name="l00253"></a>00253 <span class="comment">  const long CL_QUEUE_PROFILING_ENABLE = (1&lt;&lt;1);</span>
<a name="l00254"></a>00254 <span class="comment">  const long CL_CONTEXT_REFERENCE_COUNT = 0x1080;</span>
<a name="l00255"></a>00255 <span class="comment">  const long CL_CONTEXT_DEVICES = 0x1081;</span>
<a name="l00256"></a>00256 <span class="comment">  const long CL_CONTEXT_PROPERTIES = 0x1082;</span>
<a name="l00257"></a>00257 <span class="comment">  const long CL_CONTEXT_NUM_DEVICES = 0x1083;</span>
<a name="l00258"></a>00258 <span class="comment">  const long CL_CONTEXT_PLATFORM = 0x1084;</span>
<a name="l00259"></a>00259 <span class="comment">  const long CL_QUEUE_CONTEXT = 0x1090;</span>
<a name="l00260"></a>00260 <span class="comment">  const long CL_QUEUE_DEVICE = 0x1091;</span>
<a name="l00261"></a>00261 <span class="comment">  const long CL_QUEUE_REFERENCE_COUNT = 0x1092;</span>
<a name="l00262"></a>00262 <span class="comment">  const long CL_QUEUE_PROPERTIES = 0x1093;</span>
<a name="l00263"></a>00263 <span class="comment">  const long CL_MEM_READ_WRITE = (1&lt;&lt;0);</span>
<a name="l00264"></a>00264 <span class="comment">  const long CL_MEM_WRITE_ONLY = (1&lt;&lt;1);</span>
<a name="l00265"></a>00265 <span class="comment">  const long CL_MEM_READ_ONLY = (1&lt;&lt;2);</span>
<a name="l00266"></a>00266 <span class="comment">  const long CL_MEM_USE_HOST_PTR = (1&lt;&lt;3);</span>
<a name="l00267"></a>00267 <span class="comment">  const long CL_MEM_ALLOC_HOST_PTR = (1&lt;&lt;4);</span>
<a name="l00268"></a>00268 <span class="comment">  const long CL_MEM_COPY_HOST_PTR = (1&lt;&lt;5);</span>
<a name="l00269"></a>00269 <span class="comment">  const long CL_R = 0x10B0;</span>
<a name="l00270"></a>00270 <span class="comment">  const long CL_A = 0x10B1;</span>
<a name="l00271"></a>00271 <span class="comment">  const long CL_RG = 0x10B2;</span>
<a name="l00272"></a>00272 <span class="comment">  const long CL_RA = 0x10B3;</span>
<a name="l00273"></a>00273 <span class="comment">  const long CL_RGB = 0x10B4;</span>
<a name="l00274"></a>00274 <span class="comment">  const long CL_RGBA = 0x10B5;</span>
<a name="l00275"></a>00275 <span class="comment">  const long CL_BGRA = 0x10B6;</span>
<a name="l00276"></a>00276 <span class="comment">  const long CL_ARGB = 0x10B7;</span>
<a name="l00277"></a>00277 <span class="comment">  const long CL_INTENSITY = 0x10B8;</span>
<a name="l00278"></a>00278 <span class="comment">  const long CL_LUMINANCE = 0x10B9;</span>
<a name="l00279"></a>00279 <span class="comment">  const long CL_Rx = 0x10BA;</span>
<a name="l00280"></a>00280 <span class="comment">  const long CL_RGx = 0x10BB;</span>
<a name="l00281"></a>00281 <span class="comment">  const long CL_RGBx = 0x10BC;</span>
<a name="l00282"></a>00282 <span class="comment">  const long CL_SNORM_INT8 = 0x10D0;</span>
<a name="l00283"></a>00283 <span class="comment">  const long CL_SNORM_INT16 = 0x10D1;</span>
<a name="l00284"></a>00284 <span class="comment">  const long CL_UNORM_INT8 = 0x10D2;</span>
<a name="l00285"></a>00285 <span class="comment">  const long CL_UNORM_INT16 = 0x10D3;</span>
<a name="l00286"></a>00286 <span class="comment">  const long CL_UNORM_SHORT_565 = 0x10D4;</span>
<a name="l00287"></a>00287 <span class="comment">  const long CL_UNORM_SHORT_555 = 0x10D5;</span>
<a name="l00288"></a>00288 <span class="comment">  const long CL_UNORM_INT_101010 = 0x10D6;</span>
<a name="l00289"></a>00289 <span class="comment">  const long CL_SIGNED_INT8 = 0x10D7;</span>
<a name="l00290"></a>00290 <span class="comment">  const long CL_SIGNED_INT16 = 0x10D8;</span>
<a name="l00291"></a>00291 <span class="comment">  const long CL_SIGNED_INT32 = 0x10D9;</span>
<a name="l00292"></a>00292 <span class="comment">  const long CL_UNSIGNED_INT8 = 0x10DA;</span>
<a name="l00293"></a>00293 <span class="comment">  const long CL_UNSIGNED_INT16 = 0x10DB;</span>
<a name="l00294"></a>00294 <span class="comment">  const long CL_UNSIGNED_INT32 = 0x10DC;</span>
<a name="l00295"></a>00295 <span class="comment">  const long CL_HALF_FLOAT = 0x10DD;</span>
<a name="l00296"></a>00296 <span class="comment">  const long CL_FLOAT = 0x10DE;</span>
<a name="l00297"></a>00297 <span class="comment">  const long CL_MEM_OBJECT_BUFFER = 0x10F0;</span>
<a name="l00298"></a>00298 <span class="comment">  const long CL_MEM_OBJECT_IMAGE2D = 0x10F1;</span>
<a name="l00299"></a>00299 <span class="comment">  const long CL_MEM_OBJECT_IMAGE3D = 0x10F2;</span>
<a name="l00300"></a>00300 <span class="comment">  const long CL_MEM_TYPE = 0x1100;</span>
<a name="l00301"></a>00301 <span class="comment">  const long CL_MEM_FLAGS = 0x1101;</span>
<a name="l00302"></a>00302 <span class="comment">  const long CL_MEM_SIZE = 0x1102;</span>
<a name="l00303"></a>00303 <span class="comment">  const long CL_MEM_HOST_PTR = 0x1103;</span>
<a name="l00304"></a>00304 <span class="comment">  const long CL_MEM_MAP_COUNT = 0x1104;</span>
<a name="l00305"></a>00305 <span class="comment">  const long CL_MEM_REFERENCE_COUNT = 0x1105;</span>
<a name="l00306"></a>00306 <span class="comment">  const long CL_MEM_CONTEXT = 0x1106;</span>
<a name="l00307"></a>00307 <span class="comment">  const long CL_MEM_ASSOCIATED_MEMOBJECT = 0x1107;</span>
<a name="l00308"></a>00308 <span class="comment">  const long CL_MEM_OFFSET = 0x1108;</span>
<a name="l00309"></a>00309 <span class="comment">  const long CL_IMAGE_FORMAT = 0x1110;</span>
<a name="l00310"></a>00310 <span class="comment">  const long CL_IMAGE_ELEMENT_SIZE = 0x1111;</span>
<a name="l00311"></a>00311 <span class="comment">  const long CL_IMAGE_ROW_PITCH = 0x1112;</span>
<a name="l00312"></a>00312 <span class="comment">  const long CL_IMAGE_SLICE_PITCH = 0x1113;</span>
<a name="l00313"></a>00313 <span class="comment">  const long CL_IMAGE_WIDTH = 0x1114;</span>
<a name="l00314"></a>00314 <span class="comment">  const long CL_IMAGE_HEIGHT = 0x1115;</span>
<a name="l00315"></a>00315 <span class="comment">  const long CL_IMAGE_DEPTH = 0x1116;</span>
<a name="l00316"></a>00316 <span class="comment">  const long CL_ADDRESS_NONE = 0x1130;</span>
<a name="l00317"></a>00317 <span class="comment">  const long CL_ADDRESS_CLAMP_TO_EDGE = 0x1131;</span>
<a name="l00318"></a>00318 <span class="comment">  const long CL_ADDRESS_CLAMP = 0x1132;</span>
<a name="l00319"></a>00319 <span class="comment">  const long CL_ADDRESS_REPEAT = 0x1133;</span>
<a name="l00320"></a>00320 <span class="comment">  const long CL_ADDRESS_MIRRORED_REPEAT = 0x1134;</span>
<a name="l00321"></a>00321 <span class="comment">  const long CL_FILTER_NEAREST = 0x1140;</span>
<a name="l00322"></a>00322 <span class="comment">  const long CL_FILTER_LINEAR = 0x1141;</span>
<a name="l00323"></a>00323 <span class="comment">  const long CL_SAMPLER_REFERENCE_COUNT = 0x1150;</span>
<a name="l00324"></a>00324 <span class="comment">  const long CL_SAMPLER_CONTEXT = 0x1151;</span>
<a name="l00325"></a>00325 <span class="comment">  const long CL_SAMPLER_NORMALIZED_COORDS = 0x1152;</span>
<a name="l00326"></a>00326 <span class="comment">  const long CL_SAMPLER_ADDRESSING_MODE = 0x1153;</span>
<a name="l00327"></a>00327 <span class="comment">  const long CL_SAMPLER_FILTER_MODE = 0x1154;</span>
<a name="l00328"></a>00328 <span class="comment">  const long CL_MAP_READ = (1&lt;&lt;0);</span>
<a name="l00329"></a>00329 <span class="comment">  const long CL_MAP_WRITE = (1&lt;&lt;1);</span>
<a name="l00330"></a>00330 <span class="comment">  const long CL_PROGRAM_REFERENCE_COUNT = 0x1160;</span>
<a name="l00331"></a>00331 <span class="comment">  const long CL_PROGRAM_CONTEXT = 0x1161;</span>
<a name="l00332"></a>00332 <span class="comment">  const long CL_PROGRAM_NUM_DEVICES = 0x1162;</span>
<a name="l00333"></a>00333 <span class="comment">  const long CL_PROGRAM_DEVICES = 0x1163;</span>
<a name="l00334"></a>00334 <span class="comment">  const long CL_PROGRAM_SOURCE = 0x1164;</span>
<a name="l00335"></a>00335 <span class="comment">  const long CL_PROGRAM_BINARY_SIZES = 0x1165;</span>
<a name="l00336"></a>00336 <span class="comment">  const long CL_PROGRAM_BINARIES = 0x1166;</span>
<a name="l00337"></a>00337 <span class="comment">  const long CL_PROGRAM_BUILD_STATUS = 0x1181;</span>
<a name="l00338"></a>00338 <span class="comment">  const long CL_PROGRAM_BUILD_OPTIONS = 0x1182;</span>
<a name="l00339"></a>00339 <span class="comment">  const long CL_PROGRAM_BUILD_LOG = 0x1183;</span>
<a name="l00340"></a>00340 <span class="comment">  const long CL_BUILD_SUCCESS = 0;</span>
<a name="l00341"></a>00341 <span class="comment">  const long CL_BUILD_NONE = -1;</span>
<a name="l00342"></a>00342 <span class="comment">  const long CL_BUILD_ERROR = -2;</span>
<a name="l00343"></a>00343 <span class="comment">  const long CL_BUILD_IN_PROGRESS = -3;</span>
<a name="l00344"></a>00344 <span class="comment">  const long CL_KERNEL_FUNCTION_NAME = 0x1190;</span>
<a name="l00345"></a>00345 <span class="comment">  const long CL_KERNEL_NUM_ARGS = 0x1191;</span>
<a name="l00346"></a>00346 <span class="comment">  const long CL_KERNEL_REFERENCE_COUNT = 0x1192;</span>
<a name="l00347"></a>00347 <span class="comment">  const long CL_KERNEL_CONTEXT = 0x1193;</span>
<a name="l00348"></a>00348 <span class="comment">  const long CL_KERNEL_PROGRAM = 0x1194;</span>
<a name="l00349"></a>00349 <span class="comment">  const long CL_KERNEL_WORK_GROUP_SIZE = 0x11B0;</span>
<a name="l00350"></a>00350 <span class="comment">  const long CL_KERNEL_COMPILE_WORK_GROUP_SIZE = 0x11B1;</span>
<a name="l00351"></a>00351 <span class="comment">  const long CL_KERNEL_LOCAL_MEM_SIZE = 0x11B2;</span>
<a name="l00352"></a>00352 <span class="comment">  const long CL_KERNEL_PREFERRED_WORK_GROUP_SIZE_MULTIPLE = 0x11B3;</span>
<a name="l00353"></a>00353 <span class="comment">  const long CL_KERNEL_PRIVATE_MEM_SIZE = 0x11B4;</span>
<a name="l00354"></a>00354 <span class="comment">  const long CL_EVENT_COMMAND_QUEUE = 0x11D0;</span>
<a name="l00355"></a>00355 <span class="comment">  const long CL_EVENT_COMMAND_TYPE = 0x11D1;</span>
<a name="l00356"></a>00356 <span class="comment">  const long CL_EVENT_REFERENCE_COUNT = 0x11D2;</span>
<a name="l00357"></a>00357 <span class="comment">  const long CL_EVENT_COMMAND_EXECUTION_STATUS = 0x11D3;</span>
<a name="l00358"></a>00358 <span class="comment">  const long CL_EVENT_CONTEXT = 0x11D4;</span>
<a name="l00359"></a>00359 <span class="comment">  const long CL_COMMAND_NDRANGE_KERNEL = 0x11F0;</span>
<a name="l00360"></a>00360 <span class="comment">  const long CL_COMMAND_TASK = 0x11F1;</span>
<a name="l00361"></a>00361 <span class="comment">  const long CL_COMMAND_NATIVE_KERNEL = 0x11F2;</span>
<a name="l00362"></a>00362 <span class="comment">  const long CL_COMMAND_READ_BUFFER = 0x11F3;</span>
<a name="l00363"></a>00363 <span class="comment">  const long CL_COMMAND_WRITE_BUFFER = 0x11F4;</span>
<a name="l00364"></a>00364 <span class="comment">  const long CL_COMMAND_COPY_BUFFER = 0x11F5;</span>
<a name="l00365"></a>00365 <span class="comment">  const long CL_COMMAND_READ_IMAGE = 0x11F6;</span>
<a name="l00366"></a>00366 <span class="comment">  const long CL_COMMAND_WRITE_IMAGE = 0x11F7;</span>
<a name="l00367"></a>00367 <span class="comment">  const long CL_COMMAND_COPY_IMAGE = 0x11F8;</span>
<a name="l00368"></a>00368 <span class="comment">  const long CL_COMMAND_COPY_IMAGE_TO_BUFFER = 0x11F9;</span>
<a name="l00369"></a>00369 <span class="comment">  const long CL_COMMAND_COPY_BUFFER_TO_IMAGE = 0x11FA;</span>
<a name="l00370"></a>00370 <span class="comment">  const long CL_COMMAND_MAP_BUFFER = 0x11FB;</span>
<a name="l00371"></a>00371 <span class="comment">  const long CL_COMMAND_MAP_IMAGE = 0x11FC;</span>
<a name="l00372"></a>00372 <span class="comment">  const long CL_COMMAND_UNMAP_MEM_OBJECT = 0x11FD;</span>
<a name="l00373"></a>00373 <span class="comment">  const long CL_COMMAND_MARKER = 0x11FE;</span>
<a name="l00374"></a>00374 <span class="comment">  const long CL_COMMAND_ACQUIRE_GL_OBJECTS = 0x11FF;</span>
<a name="l00375"></a>00375 <span class="comment">  const long CL_COMMAND_RELEASE_GL_OBJECTS = 0x1200;</span>
<a name="l00376"></a>00376 <span class="comment">  const long CL_COMMAND_READ_BUFFER_RECT = 0x1201;</span>
<a name="l00377"></a>00377 <span class="comment">  const long CL_COMMAND_WRITE_BUFFER_RECT = 0x1202;</span>
<a name="l00378"></a>00378 <span class="comment">  const long CL_COMMAND_COPY_BUFFER_RECT = 0x1203;</span>
<a name="l00379"></a>00379 <span class="comment">  const long CL_COMMAND_USER = 0x1204;</span>
<a name="l00380"></a>00380 <span class="comment">  const long CL_COMPLETE = 0x0;</span>
<a name="l00381"></a>00381 <span class="comment">  const long CL_RUNNING = 0x1;</span>
<a name="l00382"></a>00382 <span class="comment">  const long CL_SUBMITTED = 0x2;</span>
<a name="l00383"></a>00383 <span class="comment">  const long CL_QUEUED = 0x3;</span>
<a name="l00384"></a>00384 <span class="comment">  const long CL_BUFFER_CREATE_TYPE_REGION = 0x1220;</span>
<a name="l00385"></a>00385 <span class="comment">  const long CL_PROFILING_COMMAND_QUEUED = 0x1280;</span>
<a name="l00386"></a>00386 <span class="comment">  const long CL_PROFILING_COMMAND_SUBMIT = 0x1281;</span>
<a name="l00387"></a>00387 <span class="comment">  const long CL_PROFILING_COMMAND_START = 0x1282;</span>
<a name="l00388"></a>00388 <span class="comment">  const long CL_PROFILING_COMMAND_END = 0x1283;</span>
<a name="l00389"></a>00389 <span class="comment">%{C++</span>
<a name="l00390"></a>00390 <span class="comment">  */</span>
<a name="l00391"></a>00391 %}
<a name="l00392"></a>00392 
<a name="l00393"></a>00393 };
<a name="l00394"></a>00394 
</pre></div></div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Fri Sep 7 2012 12:59:51 for WebCL by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
